﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BartonExtension;

namespace Backend
{
    public class PostParams
    {
        private Dictionary<string, object> param { get; set; }

        public PostParams()
        {
            param = new Dictionary<string, object>();
        }

        public void addParam(string key,object value)
        {
            param.Add(key, value);
        }

        public string jsonSerialize()
        {
            return param.ToJson();
        }
    }
}
